package com.ruoyi.core.domain;

import java.util.Calendar;

/**
 * @Description:
 * @Company: 北京卡拉卡尔股份技术有限公司
 * @Author: Darren Ho
 * @Date: 9/28/2020 17:42
 */
public enum SegmentTimeUnit {
    MINUTE(Calendar.MINUTE),DAY(Calendar.DAY_OF_YEAR),MONTH(Calendar.MONTH),YEAR(Calendar.YEAR);

    private int number;

    SegmentTimeUnit(int number) {
        this.number = number;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }
}
